//
//  ZZAnimation.m
//  Project two framework
//
//  Created by 张峥 on 16/7/21.
//  Copyright © 2016年 张峥. All rights reserved.
//

#import "ZZAnimation.h"

@implementation ZZAnimation

- (NSTimeInterval)transitionDuration:(nullable id <UIViewControllerContextTransitioning>)transitionContext{
    return 0.5;
}
- (void)animateTransition:(id <UIViewControllerContextTransitioning>)transitionContext{
    switch (_type) {
        case XWPresentOneTransitionTypePresent:
            [self presntVC];
            break;
            
        default:
            [self dismissVC];
            break;
    }
}

- (void)presntVC{
    
}

- (void)dismissVC{
    
}

@end
